package org.yly.game.rpggame.domain.model.task;

public enum TaskState {

	Accept(2), WaitSubmit(3), Complete(4);
	
	private int value;
	
	private TaskState(int value) {
		this.value = value;
	}
	
	public int getValue(){
		return this.value;
	}
	
	public boolean isAccept() {
		return this == TaskState.Accept;
	}
	
	public boolean isWaitSubmit() {
		return this == TaskState.WaitSubmit;
	}
	public boolean isComplete() {
		return this == TaskState.Complete;
	}

}
